package com.ruoyi.user.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户车辆对象 car_info
 * 
 * @author lyp
 * @date 2024-09-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆主键 */
    @TableId
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 车型 */
    @Excel(name = "车型")
    private String type;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 是否默认(1默认0非默认) */
    @Excel(name = "是否默认(1默认0非默认)")
    private Long defaulted;

    /** 删除状态 */
    @TableLogic
    private Long deleted;

//    @TableField(exist = false)
//    private User user;
}
